package com.example.hotel_lxy.bean;

import java.util.List;

public class FoodInfoDialogBean {


    /**
     * code : 0
     * msg : 成功
     * data : {"data":{"b_name":"小会议室","desk":2,"prepare_desk":3,"book":"孙","director":"14","d_money":"1288.00","cid":"2,2,3,4,5,7,8","director_mobile":123456,"begin":"2021-04-29 晚上"},"newArrays":[{"name":"特色主菜","datas":[{"id":2,"name":"鱼香茄子2","num":2,"money":50,"tid":2},{"id":4,"name":"鱼香茄子1","num":1,"money":25,"tid":2}]},{"name":"特色主菜123","datas":[{"id":3,"name":"茄子1","num":1,"money":100,"tid":3},{"id":5,"name":"茄子12","num":1,"money":10.01,"tid":3}]},{"name":null,"datas":[{"id":7,"name":"2221","num":1,"money":22,"tid":0}]},{"name":"测试赛","datas":[{"id":8,"name":"ss","num":1,"money":11,"tid":6}]}]}
     */

    private String code;
    private String msg;
    private DataBeanX data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * data : {"b_name":"小会议室","desk":2,"prepare_desk":3,"book":"孙","director":"14","d_money":"1288.00","cid":"2,2,3,4,5,7,8","director_mobile":123456,"begin":"2021-04-29 晚上"}
         * newArrays : [{"name":"特色主菜","datas":[{"id":2,"name":"鱼香茄子2","num":2,"money":50,"tid":2},{"id":4,"name":"鱼香茄子1","num":1,"money":25,"tid":2}]},{"name":"特色主菜123","datas":[{"id":3,"name":"茄子1","num":1,"money":100,"tid":3},{"id":5,"name":"茄子12","num":1,"money":10.01,"tid":3}]},{"name":null,"datas":[{"id":7,"name":"2221","num":1,"money":22,"tid":0}]},{"name":"测试赛","datas":[{"id":8,"name":"ss","num":1,"money":11,"tid":6}]}]
         */

        private DataBean data;
        private List<NewArraysBean> newArrays;

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public List<NewArraysBean> getNewArrays() {
            return newArrays;
        }

        public void setNewArrays(List<NewArraysBean> newArrays) {
            this.newArrays = newArrays;
        }

        public static class DataBean {
            /**
             * b_name : 小会议室
             * desk : 2
             * prepare_desk : 3
             * book : 孙
             * director : 14
             * d_money : 1288.00
             * cid : 2,2,3,4,5,7,8
             * director_mobile : 123456
             * begin : 2021-04-29 晚上
             */

            private String b_name;
            private int desk;
            private int prepare_desk;
            private String book;
            private String director;
            private String d_money;
            private String cid;
            private String director_mobile;
            private String begin;

            public String getB_name() {
                return b_name;
            }

            public void setB_name(String b_name) {
                this.b_name = b_name;
            }

            public int getDesk() {
                return desk;
            }

            public void setDesk(int desk) {
                this.desk = desk;
            }

            public int getPrepare_desk() {
                return prepare_desk;
            }

            public void setPrepare_desk(int prepare_desk) {
                this.prepare_desk = prepare_desk;
            }

            public String getBook() {
                return book;
            }

            public void setBook(String book) {
                this.book = book;
            }

            public String getDirector() {
                return director;
            }

            public void setDirector(String director) {
                this.director = director;
            }

            public String getD_money() {
                return d_money;
            }

            public void setD_money(String d_money) {
                this.d_money = d_money;
            }

            public String getCid() {
                return cid;
            }

            public void setCid(String cid) {
                this.cid = cid;
            }

            public String getDirector_mobile() {
                return director_mobile;
            }

            public void setDirector_mobile(String director_mobile) {
                this.director_mobile = director_mobile;
            }

            public String getBegin() {
                return begin;
            }

            public void setBegin(String begin) {
                this.begin = begin;
            }
        }

        public static class NewArraysBean {
            /**
             * name : 特色主菜
             * datas : [{"id":2,"name":"鱼香茄子2","num":2,"money":50,"tid":2},{"id":4,"name":"鱼香茄子1","num":1,"money":25,"tid":2}]
             */

            private String name;
            private List<DatasBean> datas;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<DatasBean> getDatas() {
                return datas;
            }

            public void setDatas(List<DatasBean> datas) {
                this.datas = datas;
            }

            public static class DatasBean {
                /**
                 * id : 2
                 * name : 鱼香茄子2
                 * num : 2
                 * money : 50
                 * tid : 2
                 */

                private int id;
                private String name;
                private int num;
                private double money;
                private int tid;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public double getMoney() {
                    return money;
                }

                public void setMoney(double money) {
                    this.money = money;
                }

                public int getTid() {
                    return tid;
                }

                public void setTid(int tid) {
                    this.tid = tid;
                }
            }
        }
    }
}
